/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package domein;

import java.io.Serializable;

/**
 *
 * @author Lucas
 */
public class Message implements Serializable
{
    private String message;
    static final int LIST = 0, MSG = 1, OUT = 2;
    private int type;

    public Message(int type, String message)
    {
        this.message = message;
        this.type = type;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage(String message)
    {
        this.message = message;
    }

    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }
}
